import Vue from 'vue';
import Router from 'vue-router';

import Home from '@/components/home/home'
import Footer from '@/components/footer/footer'
import University from '@/components/university/university'
import Header from '@/components/header/header'

Vue.use(Router);

let routes=[
    {
        path:'/home',
        name:'Home',
        component:Home
    },
    {
        path:'/footer',
        name:'Footer',
        component:Footer
    },
    {
        path:'/university',
        name:'University',
        component:University
    },
    {
    	path:'/header',
    	name:'Header',
    	component:Header
    }
];
export default new Router({
  mode:"history",
  routes//导出
})
